package com.huadi.bili_hot.service;

import com.huadi.bili_hot.dao.mapper.DailyPostMapper;
import com.huadi.bili_hot.entity.DailyPost;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DailyPostServiceImpl implements DailyPostService{
    @Autowired
    private DailyPostMapper dailyPostMapper;

    @Override
    public DailyPost getDailyPost() {
        DailyPost post = dailyPostMapper.selectDailyPost();
        return post;
    }
}
